/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.dp.vo;

import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 *
 * @author wyr
 */
@Entity
@Table(name = "t_sys_autoactivetimer")
//@NamedQueries({@NamedQuery(name = "TSysAutoactivetimer.findAll", query = "SELECT t FROM TSysAutoactivetimer t"), @NamedQuery(name = "TSysAutoactivetimer.findByTimerid", query = "SELECT t FROM TSysAutoactivetimer t WHERE t.timerid = :timerid"), @NamedQuery(name = "TSysAutoactivetimer.findByTimertime", query = "SELECT t FROM TSysAutoactivetimer t WHERE t.timertime = :timertime"), @NamedQuery(name = "TSysAutoactivetimer.findByTimermsg", query = "SELECT t FROM TSysAutoactivetimer t WHERE t.timermsg = :timermsg"), @NamedQuery(name = "TSysAutoactivetimer.findByTimequeue", query = "SELECT t FROM TSysAutoactivetimer t WHERE t.timequeue = :timequeue"), @NamedQuery(name = "TSysAutoactivetimer.findByIsvalid", query = "SELECT t FROM TSysAutoactivetimer t WHERE t.isvalid = :isvalid")})
public class TSysAutoactivetimer implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @Column(name = "timerid")
    private String timerid;
    @Basic(optional = false)
    @Column(name = "timertime")
    private String timertime;
    @Basic(optional = false)
    @Column(name = "timermsg")
    private String timermsg;
    @Column(name = "timequeue")
    private String timequeue;
    @Column(name = "isvalid")
    private String isvalid;

    public TSysAutoactivetimer() {
    }

    public TSysAutoactivetimer(String timerid) {
        this.timerid = timerid;
    }

    public TSysAutoactivetimer(String timerid, String timertime, String timermsg) {
        this.timerid = timerid;
        this.timertime = timertime;
        this.timermsg = timermsg;
    }

    public String getTimerid() {
        return timerid;
    }

    public void setTimerid(String timerid) {
        this.timerid = timerid;
    }

    public String getTimertime() {
        return timertime;
    }

    public void setTimertime(String timertime) {
        this.timertime = timertime;
    }

    public String getTimermsg() {
        return timermsg;
    }

    public void setTimermsg(String timermsg) {
        this.timermsg = timermsg;
    }

    public String getTimequeue() {
        return timequeue;
    }

    public void setTimequeue(String timequeue) {
        this.timequeue = timequeue;
    }

    public String getIsvalid() {
        return isvalid;
    }

    public void setIsvalid(String isvalid) {
        this.isvalid = isvalid;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (timerid != null ? timerid.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof TSysAutoactivetimer)) {
            return false;
        }
        TSysAutoactivetimer other = (TSysAutoactivetimer) object;
        if ((this.timerid == null && other.timerid != null) || (this.timerid != null && !this.timerid.equals(other.timerid))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.dp.vo.TSysAutoactivetimer[timerid=" + timerid + "]";
    }

}
